/* 基础配置 */
.container {
    width: 1190px;
    margin: 0 auto;
    overflow: hidden;
}

/* #region顶部导航条start */
.topbar {
    height: 30px;
    background-color: #ECECEC;
}
.topbar-welcome {
    height: 30px;
    line-height: 30px;
    font-size: 0px;
}
.topbar-welcome span,
.topbar-welcome a {
    font-size: 12px;
    color: #666666;
}
.topbar-welcome-hello {
    margin-right: 28px;
}
.topbar-welcome-login {
    border-right: 1px solid #666666;
    padding-right: 10px;
}
.topbar-welcome-register {
    padding-left: 10px;
}

.topbar-nav {
    height: 30px;
    line-height: 30px;
}
.topbar-nav-list li {
    float: left;
}
.topbar-nav-list li a {
    font-size: 12px;
    color: #666666;
    border-right: 1px solid #666666;
    padding: 0 15px;
}
.topbar-nav-list li:first-child a {
    padding-left: 0px;
}
.topbar-nav-list li:last-child a {
    padding-right: 0px;
    border: 0;
}
/* #endregion顶部导航条end */

/* #region头部start */
.header {
    height: 120px;
}
.header-logo {
    position: relative;
}
.header-logo a {
    width: 130px;
    height: 60px;
    position: absolute;
    left: 30px;
    top: 30px;
}
.header-search form {
    margin-top: 42px;
    font-size: 0;
}
.header-search input {
    width: 500px;
    height: 34px;
    border: 1px solid #DD302D;
    padding-left: 8px;
}
.header-search button {
    width: 80px;
    height: 36px;
    background-color: #DD302D;
    vertical-align: top;
    background-image: url("../images/search_icon.png");
    background-repeat: no-repeat;
    background-position: 28px 6px;
    cursor: pointer;
}
/* #endregion头部end */

/* #region主导航区start */
.nav {
    height: 48px;
    border-bottom: 1px solid #DD302D;
}
.nav-types {
    width: 190px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #DD302D;
}
.nav-items-list {
    height: 48px;
    line-height: 48px;
}
.nav-items-list li {
    float: left;
    margin: 0 10px;
}
.nav-items-list li:last-child {
    margin-right: 0;
}
.nav-items-list li a {
    font-size: 16px;
    color: #333333;
}
/* #endregion主导航区end */

/* #region主内容区start */
.maincontent {
    margin-top: 10px;
}

.maincontent-sidebar {
    width: 190px;
    height: 448px;
    background-color: #F4F4F4;
    padding: 5px 0;
    position: relative;
}
.maincontent-sidebar-list li {
    height: 28px;
    line-height: 28px;
    padding-left: 16px;
}
.maincontent-sidebar-list li:hover {
    background-color: rgb(202, 202, 202);
}
.maincontent-sidebar-list li a {
    font-size: 14px;
    color: #333333;
}
.maincontent-sidebar-list .second-menu {
    width: 700px;
    height: 458px;
    background-color: #F4F4F4;
    position: absolute;
    left: 190px;
    top: 0;
    display: none;
}
.maincontent-sidebar-list li:hover .second-menu {
    display: block;
}
.maincontent-sidebar-list .second-menu dl {
    width: 670px;
    margin-left: 20px;
}
.maincontent-sidebar-list .second-menu dl:first-child {
    margin-top: 10px;
}
.maincontent-sidebar-list .second-menu dt {
    width: 70px;
    height: 36px;
    line-height: 36px;
    margin-right: 10px;
    float: left;
}
.maincontent-sidebar-list .second-menu dt a {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}
.maincontent-sidebar-list .second-menu dd {
    height: 36px;
    line-height: 36px;
    float: left;
}
.maincontent-sidebar-list .second-menu dd a {
    border-left: 1px solid #999999;
    padding: 0 10px;
    font-size: 14px;
    color: #666666;
}
.maincontent-sidebar-list .second-menu a:hover {
    color:#DD302D;
    text-decoration: none;
}

.maincontent-banner {
    width: 690px;
    height: 458px;
    background-color: #F4F4F4;
    margin: 0 10px;
}

.maincontent-otherbar {
    width: 290px;
    height: 458px;
}
.maincontent-otherbar-msg {
    width: 260px;
    height: 140px;
    margin-bottom: 10px;
    border: 1px solid #D9D9D9;
    padding: 5px 14px 12px 14px;
}
.maincontent-otherbar-msg .titlebar {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 2px;
}
.maincontent-otherbar-msg .titlebar-title {
    font-size: 14px;
    color: #000000;
}
.maincontent-otherbar-msg .titlebar-more {
    font-size: 12px;
    color: #999999;
}
.maincontent-otherbar-msg .contentbar {
    width: 262px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    color: #666666;
}
.maincontent-otherbar-msg .contentbar a {
    font-size: 12px;
    color: #666666;
}
.maincontent-otherbar-msg a:hover {
    color:#DD302D;
    text-decoration: none;
}
/* 浏览器请求12张缩略图会很耗费时间，所以采用请求一次精灵图复用在所有缩略图位置的方式来缩短加载时间 */
/* .maincontent-otherbar-function {
    width: 280px;
    height: 260px;
    padding: 8px 5px 22px 5px;
}
.maincontent-otherbar-function li {
    width: 48px;
    height: 70px;
    margin: 8px 11px;
    float: left;
}
.maincontent-otherbar-function div {
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 14px;
    color: #000000;
} */
/* 加载精灵图方式 */
.maincontent-otherbar-function {
    width: 280px;
    height: 260px;
    padding: 8px 5px 22px 5px;
    text-align: center;
}
.maincontent-otherbar-function li {
    width: 48px;
    height: 70px;
    margin: 8px 11px;
    float: left;
}
.maincontent-otherbar-function li div:first-child {
    width: 48px;
    height: 48px;
    background-image: url("../images/精灵图-侧边功能.png");
}
.maincontent-otherbar-function li:hover {
    background-color: rgb(202, 202, 202);
}
.maincontent-otherbar-function ul:nth-child(1) li:nth-child(1) div:first-child {
    background-position: 0 0;
}
.maincontent-otherbar-function ul:nth-child(1) li:nth-child(2) div:first-child {
    background-position: -48px 0;
}
.maincontent-otherbar-function ul:nth-child(1) li:nth-child(3) div:first-child {
    background-position: -96px 0;
}
.maincontent-otherbar-function ul:nth-child(1) li:nth-child(4) div:first-child {
    background-position: -144px 0;
}
.maincontent-otherbar-function ul:nth-child(2) li:nth-child(1) div:first-child {
    background-position: 0 -48px;
}
.maincontent-otherbar-function ul:nth-child(2) li:nth-child(2) div:first-child {
    background-position: -48px -48px;
}
.maincontent-otherbar-function ul:nth-child(2) li:nth-child(3) div:first-child {
    background-position: -96px -48px;
}
.maincontent-otherbar-function ul:nth-child(2) li:nth-child(4) div:first-child {
    background-position: -144px -48px;
}
.maincontent-otherbar-function ul:nth-child(3) li:nth-child(1) div:first-child {
    background-position: 0 -96px;
}
.maincontent-otherbar-function ul:nth-child(3) li:nth-child(2) div:first-child {
    background-position: -48px -96px;
}
.maincontent-otherbar-function ul:nth-child(3) li:nth-child(3) div:first-child {
    background-position: -96px -96px;
}
.maincontent-otherbar-function ul:nth-child(3) li:nth-child(4) div:first-child {
    background-position: -144px -96px;
}
/* #endregion主内容区end */

/* #region秒杀专场start */
.seckill {
    margin-top: 10px;
}
.seckill a {
    margin-left: 11px;
    float: left;
}
.seckill a:first-child {
    margin-left: 0;
}
/* #endregion秒杀专场end */

/* #region楼层start */
.floor {
    margin-top: 48px;
}

.floor-nav {
    height: 36px;
    line-height: 36px;
    border-bottom: 2px solid #DD302D;
}
.floor-nav-title {
    font-size: 20px;
    color: #000000;
}
.floor-nav-list li {
    float: left;
}
.floor-nav-list li a {
    padding: 0 10px;
    border-left: 1px solid #666666;
    font-size: 16px;
    color: #666666;
}
.floor-nav-list li:first-child a {
    padding-left: 0;
    border-left: 0;
}
.floor-nav-list li:last-child a {
    padding-right: 0;
}

.floor-content>div {
    float: left;
}
.floor-content>div:first-child {
    width: 230px;
    height: 432px;
    background-color: #F4F4F4;
}
.floor-content>div:first-child div {
    width: 190px;
    height: 108px;
    margin: 20px 20px 0 20px;
}
.floor-content>div:first-child li {
    width: 90px;
    height: 24.5px;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 2.5px;
    text-align: center;
}
.floor-content>div:first-child li:nth-child(1) {
    margin-right: 10px;
    float: left;
}
.floor-content>div:first-child li:nth-child(2) {
    float: right;
}
.floor-content>div:first-child ul:nth-child(1),
.floor-content>div:first-child ul:nth-child(2) {
    margin-bottom: 13.4px;
}
.floor-content>div:first-child a {
    font-size: 16px;
    color: #666666;
}
.floor-content>div:first-child a:hover {
    color:#DD302D;
    text-decoration: none;
}
.floor-content>div:first-child img {
    margin: 30px 18px;
}
.floor-content>div:nth-child(3) img,
.floor-content>div:nth-child(5) img {
    border-bottom: 1px solid #E2E2E2;
}
.floor-content>div:nth-child(4) img {
    border: 1px solid #E2E2E2;
    border-top: 0;
}
/* #endregion楼层end */

/* #region页脚start */
.footer {
    height: 440px;
    margin-top: 48px;
    background-color: #483E3E;
}

.footer-toplinks {
    margin-top: 48px;
}
.footer-toplinks dl {
    height: 176px;
    width: 190px;
    margin-right: 10px;
    float: left;
}
.footer-toplinks dl:last-child {
    margin-right: 0;
}
.footer-toplinks dt,
.footer-toplinks dd,
.footer-toplinks a {
    font-size: 14px;
    color: #FFFFFF;
}

.footer hr {
    border: 0;
    height: 1px;
    background-color: #584D4D;
    margin-top: 22px;
    margin-bottom: 47px;
}

.footer-bottomlinks {
    text-align: center;
}
.footer-bottomlinks-list {
    display: inline-block;
}
.footer-bottomlinks-list li {
    padding: 0 25px;
    border-right: 1px solid #D9D9D9;
    float: left;
}
.footer-bottomlinks-list li:first-child {
    padding-left: 0;
}
.footer-bottomlinks-list li:last-child {
    padding-right: 0;
    border-right: 0;
}
.footer-bottomlinks-list li a {
    font-size: 12px;
    color: #FFFFFF;
}
.footer-bottomlinks-copyright {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #FFFFFF;
}
/* #endregion页脚end */

/* 基础配置 */
/* a设置color后会覆盖reset.css中a:hover的默认样式，所以需要再次覆盖一下 */
body a:hover {
    color:#DD302D;
    text-decoration: none;
}